import {NgModule} from "@angular/core";
import {CommonModule} from "@angular/common";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {BsDropdownModule, ModalModule, PaginationModule, ProgressbarModule} from "ngx-bootstrap";
import {AppProvider} from "../providers/AppProvider";
import {ComponentsModule} from "./components/components.module";
import {DirectivesModule} from "./directives/directives.module";

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    PaginationModule.forRoot(),
    ProgressbarModule.forRoot(),
    ModalModule.forRoot(),
    BsDropdownModule.forRoot(),
    ComponentsModule,
    DirectivesModule
  ],
  declarations: [],
  exports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    ComponentsModule,
    ProgressbarModule.forRoot().ngModule,
    PaginationModule.forRoot().ngModule,
    ModalModule.forRoot().ngModule,
    BsDropdownModule.forRoot().ngModule,
    DirectivesModule
  ],
  providers: [AppProvider]
})

export class SharedModule {
}
